package com.sf.asp.config.shiro;

import java.util.LinkedHashMap;
import java.util.Map;

public class ShiroFilterMapFactory {


    /**
     * 设置需要授权的URL
     * @return
     */
    public static Map<String,String> shiroFilterMap(){
        Map<String,String> filter = new LinkedHashMap<>();
        filter.put("/static/**","anon");
        filter.put("captcha/**","anon");
        filter.put("/**","user");
        return filter;
    }
}
